package com.lancoo.znbkxx.net;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Create by TangJun on 2019/2/16
 */
public interface HttpApi {
    //?SchoolID=S22-sa-2963&SubjectID=C&GlobalGrade=K9&CourseClassID=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&StuID=sastu255&SearchField=&Layer=0&State=-1&DateField=0&ScoreField=0&PageNumber=1&PageSize=1
//    @GET("W_ZNBK_GetFirstPageInfo")
    @GET("W_ZNBK_GetStuMainInfo")
    Observable<ResponseBody> getFirstPageInfo(@QueryMap Map<String,String> map);

//    @GET("W_ZNBK_GetWrongItemList?stuId=sestu101&schoolId=S22_sa_2963&subjectId=S2-English&lphaseCode=B&itemType=3")
    @GET("W_ZNBK_GetWrongItemList")
    Observable<ResponseBody> getWrongFragmentInfo(@QueryMap Map<String,String> map);

//    @GET("W_ZNBK_GetWrongItemList?stuId=sestu101&schoolId=S22_sa_2963&subjectId=S2-English&lphaseCode=B&itemType=1")
    @GET("W_ZNBK_GetWrongItemList")
    Observable<ResponseBody> getHardFragmentInfo(@QueryMap Map<String,String> map);

    @GET("W_ZNBK_GetPersonalNoteList?SchoolID=S22-sa-2963&GlobalGrade=K9&CourseClassID=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&StuID=sastu255&SearchInfo=&PageNumber=1&PageSize=1&TypeNo=&GenreID=")
    Observable<ResponseBody> getMyNoteInfo();
    @GET("W_ZNBK_GetPersonalSingleNote?SchoolID=S22-sa-2963&GlobalGrade=K9&CourseClassID=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&StuID=sastu255&QuesID=CBCE07048DHE10000DD&NoteID=123456")
    Observable<ResponseBody> getMyNoteEditInfo();
    @GET("W_ZNBK_GetCourseClassIDFromBase")
    Observable<ResponseBody> getBaseInfo(@QueryMap Map<String,String> map);
    @GET("W_ZNBK_GetPackagePaper")
    Observable<ResponseBody> getSelectInfo(@QueryMap Map<String,String> map);
    @GET("W_ZNBK_GetFavouriteList?SchoolID=S22-sa-2963&GlobalGrade=K9&CourseClassID=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&StuID=sastu255&SearchInfo=&PageNumber=1&PageSize=10&TypeNo=&GenreID=")
    Observable<ResponseBody> getCollectInfo();

}